Skip to content

Some fixes to the linear algebra functions #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Nov 5, 2021

Conversation

asmeurer
Copy link
Member

@asmeurer asmeurer commented Oct 8, 2021

No description provided.

Also use more consistent variable names for the shapes in the error cases.
@asmeurer
Copy link
Member Author

asmeurer commented Oct 8, 2021

As I noted on Slack, the broadcasting rule for matmul is wrong too (the last bullet point). It should not broadcast the "matrix dimensions". But I'm having a hard time figuring out a way to rewrite it that isn't too verbose. Any suggestions are welcome.

@kgryte kgryte added this to the v2021 milestone Oct 20, 2021
@kgryte kgryte added Maintenance Bug fix, typo fix, or general maintenance. topic: Linear Algebra Linear algebra. labels Oct 20, 2021
Copy link
Contributor

@kgryte kgryte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks, @asmeurer!

@kgryte
Copy link
Contributor

kgryte commented Nov 5, 2021

Re: matmul. Will submit a follow-up PR to address broadcasting.

@kgryte kgryte merged commit e471e8a into data-apis:main Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Bug fix, typo fix, or general maintenance. topic: Linear Algebra Linear algebra.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants